package com.smtlive.service.impl;

import java.util.ArrayList;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.smtlive.domain.ActionRole;
import com.smtlive.repository.ActionRoleRepository;
import com.smtlive.service.ActionRoleService;

@Service
public class ActionRoleServiceImpl implements ActionRoleService {
	
	@Autowired
	ActionRoleRepository actionRoleRepository;
	
	@Override
	public ArrayList<ActionRole> findAction(long roleId) {
		return actionRoleRepository.findByRoleId(roleId);
	}
}
